package com.credithc.signature;

import lombok.extern.slf4j.Slf4j;
import org.apache.cxf.staxutils.StaxUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication(scanBasePackages = {"com.credithc"})
@MapperScan({"com.credithc.signature.common.mapper"})
@EnableFeignClients("com.credithc")
@EnableEurekaClient
@Slf4j
public class FacadeApplication {
    public static void main( String[] args ){
        System.setProperty(StaxUtils.ALLOW_INSECURE_PARSER,"1");
        SpringApplication.run(FacadeApplication.class, args);
        log.info("FacadeApplication start ok ......");
    }

}
